import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    user:{
      photo:'',
      name:'游客'
    },
    clientId:0
  },
  mutations: {
    saveUser(state:any,data:any){
      state.user=data;
    }
   
  },
  actions: {
  },
  modules: {
  }
})
